<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Script::Bool</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '../..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (B)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span> &raquo; <span class='title'><a href="Script.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script.html" title="Sass::Script (module)">Script</a></span>
     &raquo; 
    <span class="title">Bool</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/Script/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/Script/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Script::Bool 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName"><a href="Literal.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html" title="Sass::Script::Literal (class)">Literal</a></span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next"><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Node</a></li>
          
            <li class="next"><a href="Literal.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html" title="Sass::Script::Literal (class)">Literal</a></li>
          
            <li class="next">Sass::Script::Bool</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/script/bool.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>A SassScript object representing a boolean (true or false) value.</p>

  </div>
</div>
<div class="tags">
  
</div>

  
  
  
  
  
  
  
  
  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#value-instance_method" title="#value (instance method)">- (Boolean) <strong>value</strong> </a>
    

    
      (also: #to_bool)
    
  </span>
  
  
    <span class="note title readonly">readonly</span>
    
  
  
  
  

  
    <span class="summary_desc">The Ruby value of the boolean.</span>
  
</li>

    
  </ul>


  <h2>Instance Method Summary</h2>

  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#to_s-instance_method" title="#to_s (instance method)">- (String) <strong>to_s</strong>(opts = {}) </a>
    

    
      (also: #to_sass)
    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">&#8220;true&#8221; or &#8220;false&#8221;.</span>
  
</li>

    
  </ul>

  
  
  
  
  
  <h3 class="inherited">Methods inherited from <a href="Literal.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html" title="Sass::Script::Literal (class)">Literal</a></h3>
  <p class="inherited"><a href="Literal.html#%3D%3D-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#%3D%3D-instance_method" title="Sass::Script::Literal#== (method)">#==</a>, <a href="Literal.html#_perform-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#_perform-instance_method" title="Sass::Script::Literal#_perform (method)">#_perform</a>, <a href="Literal.html#assert_int%21-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#assert_int%21-instance_method" title="Sass::Script::Literal#assert_int! (method)">#assert_int!</a>, <a href="Literal.html#children-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#children-instance_method" title="Sass::Script::Literal#children (method)">#children</a>, <a href="Literal.html#comma-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#comma-instance_method" title="Sass::Script::Literal#comma (method)">#comma</a>, <a href="Literal.html#deep_copy-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#deep_copy-instance_method" title="Sass::Script::Literal#deep_copy (method)">#deep_copy</a>, <a href="Literal.html#div-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#div-instance_method" title="Sass::Script::Literal#div (method)">#div</a>, <a href="Literal.html#eq-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#eq-instance_method" title="Sass::Script::Literal#eq (method)">#eq</a>, <a href="Literal.html#initialize-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#initialize-instance_method" title="Sass::Script::Literal#initialize (method)">#initialize</a>, <a href="Literal.html#inspect-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#inspect-instance_method" title="Sass::Script::Literal#inspect (method)">#inspect</a>, <a href="Literal.html#minus-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#minus-instance_method" title="Sass::Script::Literal#minus (method)">#minus</a>, <a href="Literal.html#neq-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#neq-instance_method" title="Sass::Script::Literal#neq (method)">#neq</a>, <a href="Literal.html#null%3F-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#null%3F-instance_method" title="Sass::Script::Literal#null? (method)">#null?</a>, <a href="Literal.html#options-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#options-instance_method" title="Sass::Script::Literal#options (method)">#options</a>, <a href="Literal.html#plus-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#plus-instance_method" title="Sass::Script::Literal#plus (method)">#plus</a>, <a href="Literal.html#single_eq-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#single_eq-instance_method" title="Sass::Script::Literal#single_eq (method)">#single_eq</a>, <a href="Literal.html#space-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#space-instance_method" title="Sass::Script::Literal#space (method)">#space</a>, <a href="Literal.html#to_a-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#to_a-instance_method" title="Sass::Script::Literal#to_a (method)">#to_a</a>, <a href="Literal.html#to_i-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#to_i-instance_method" title="Sass::Script::Literal#to_i (method)">#to_i</a>, <a href="Literal.html#unary_div-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#unary_div-instance_method" title="Sass::Script::Literal#unary_div (method)">#unary_div</a>, <a href="Literal.html#unary_minus-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#unary_minus-instance_method" title="Sass::Script::Literal#unary_minus (method)">#unary_minus</a>, <a href="Literal.html#unary_not-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#unary_not-instance_method" title="Sass::Script::Literal#unary_not (method)">#unary_not</a>, <a href="Literal.html#unary_plus-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#unary_plus-instance_method" title="Sass::Script::Literal#unary_plus (method)">#unary_plus</a></p>

  
  
  
  
  
  <h3 class="inherited">Methods inherited from <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Node</a></h3>
  <p class="inherited"><a href="Node-1.html#_perform-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#_perform-instance_method" title="Sass::Script::Node#_perform (method)">#_perform</a>, <a href="Node-1.html#children-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#children-instance_method" title="Sass::Script::Node#children (method)">#children</a>, <a href="Node-1.html#dasherize-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#dasherize-instance_method" title="Sass::Script::Node#dasherize (method)">#dasherize</a>, <a href="Node-1.html#deep_copy-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#deep_copy-instance_method" title="Sass::Script::Node#deep_copy (method)">#deep_copy</a>, <a href="Node-1.html#opts-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#opts-instance_method" title="Sass::Script::Node#opts (method)">#opts</a>, <a href="Node-1.html#perform-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html#perform-instance_method" title="Sass::Script::Node#perform (method)">#perform</a></p>
<div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <p class="notice">This class inherits a constructor from <a href="Literal.html#initialize-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Literal.html#initialize-instance_method" title="Sass::Script::Literal#initialize (method)">Sass::Script::Literal</a></p>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id=""></span>
      <span id="value-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="value-instance_method">
  
    - (<tt>Boolean</tt>) <strong>value</strong>  <span class="extras">(readonly)</span>
  

  
    <span class="aliases">Also known as:
    <span class="names"><span id='to_bool-instance_method'>to_bool</span></span>
    </span>
  
</p><div class="docstring">
  <div class="discussion">
    <p>The Ruby value of the boolean.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


9
10
11</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/script/bool.rb', line 9</span>

def value
  @value
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="to_s-instance_method">
  
    - (<tt><a href="String.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/String.html" title="Sass::Script::String (class)">String</a></tt>) <strong>to_s</strong>(opts = {}) 
  

  
    <span class="aliases">Also known as:
    <span class="names"><span id='to_sass-instance_method'>to_sass</span></span>
    </span>
  
</p><div class="docstring">
  <div class="discussion">
    <p>&#8220;true&#8221; or &#8220;false&#8221;</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt><a href="String.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/String.html" title="Sass::Script::String (class)">String</a></tt>)</span>
      
      
      
      
        &mdash;
        &#8220;true&#8221; or &#8220;false&#8221;
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


13
14
15</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/script/bool.rb', line 13</span>

def to_s(opts = {})
  @value.to_s
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:34:03 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>